﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace JNPF.Basics.Models
{
    /// <summary>
    /// 付款申请单
    /// 版 本：V2.6.200612
    /// 版 权：引迈信息技术有限公司（https://www.jnpfsoft.com）
    /// 作 者：JNPF开发平台组
    /// 日 期：2018-07-17 
    /// </summary>
    [Table("WFORM_PAYMENTAPPLY")]
    public class PaymentApplyEntity
    {
        /// <summary>
        /// 自然主键
        /// </summary>
        [Key]
        [Column("F_ID")]
        public string Id { get; set; }
        /// <summary>
        /// 流程主键
        /// </summary>
        [Column("F_FLOWID")]
        public string FlowId { get; set; }
        /// <summary>
        /// 流程标题
        /// </summary>
        [Column("F_FLOWTITLE")]
        public string FlowTitle { get; set; }
        /// <summary>
        /// 紧急程度
        /// </summary>
        [Column("F_FLOWURGENT")]
        public int? FlowUrgent { get; set; }
        /// <summary>
        /// 流程单据
        /// </summary>
        [Column("F_BILLNO")]
        public string BillNo { get; set; }
        /// <summary>
        /// 申请人
        /// </summary>
        [Column("F_APPLYUSER")]
        public string ApplyUser { get; set; }
        /// <summary>
        /// 申请部门
        /// </summary>
        [Column("F_DEPARTMENTAL")]
        public string Departmental { get; set; }
        /// <summary>
        /// 申请日期
        /// </summary>
        [Column("F_APPLYDATE")]
        public DateTime? ApplyDate { get; set; }
        /// <summary>
        /// 用途名称
        /// </summary>
        [Column("F_PURPOSENAME")]
        public string PurposeName { get; set; }
        /// <summary>
        /// 项目类别
        /// </summary>
        [Column("F_PROJECTCATEGORY")]
        public string ProjectCategory { get; set; }
        /// <summary>
        /// 项目负责人
        /// </summary>
        [Column("F_PROJECTLEADER")]
        public string ProjectLeader { get; set; }
        /// <summary>
        /// 开户银行
        /// </summary>
        [Column("F_OPENINGBANK")]
        public string OpeningBank { get; set; }
        /// <summary>
        /// 收款账号
        /// </summary>
        [Column("F_BENEFICIARYACCOUNT")]
        public string BeneficiaryAccount { get; set; }
        /// <summary>
        /// 联系方式
        /// </summary>
        [Column("F_RECEIVABLECONTACT")]
        public string ReceivableContact { get; set; }
        /// <summary>
        /// 付款单位
        /// </summary>
        [Column("F_PAYMENTUNIT")]
        public string PaymentUnit { get; set; }
        /// <summary>
        /// 申请金额
        /// </summary>
        [Column("F_APPLYAMOUNT")]
        public decimal? ApplyAmount { get; set; }
        /// <summary>
        /// 结算方式
        /// </summary>
        [Column("F_SETTLEMENTMETHOD")]
        public string SettlementMethod { get; set; }
        /// <summary>
        /// 付款类型
        /// </summary>
        [Column("F_PAYMENTTYPE")]
        public string PaymentType { get; set; }
        /// <summary>
        /// 付款金额
        /// </summary>
        [Column("F_AMOUNTPAID")]
        public decimal? AmountPaid { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [Column("F_DESCRIPTION")]
        public string Description { get; set; }
    }
}
